package com.iqiyi.pps.epg.core.model.program;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * Created by lemuelwang on 2015/11/10.
 */
@Entity
@Table(name = "live_episode_expired")
@Cache(usage = CacheConcurrencyStrategy.NONE)
public class ProgramDataExpired {
    private long id;
    private long fatherId;
    private long qipuId;
    private long fatherQipuId;
    private long fatherOldQipuId;
    private Timestamp startPlayTime;
    private String desc;
    private int isDeleted;
    private long order;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Column(name = "father_id")
    public long getFatherId() {
        return fatherId;
    }

    public void setFatherId(long fatherId) {
        this.fatherId = fatherId;
    }

    @Column(name = "qipu_id")
    public long getQipuId() {
        return qipuId;
    }

    public void setQipuId(long qipuId) {
        this.qipuId = qipuId;
    }

    @Column(name = "father_qipu_id")
    public long getFatherQipuId() {
        return fatherQipuId;
    }

    public void setFatherQipuId(long fatherQipuId) {
        this.fatherQipuId = fatherQipuId;
    }


    @Column(name = "father_old_qipu_id")
    public long getFatherOldQipuId() {
        return fatherOldQipuId;
    }

    public void setFatherOldQipuId(long fatherOldQipuId) {
        this.fatherOldQipuId = fatherOldQipuId;
    }

    @Column(name = "start_play_time")
    public Timestamp getStartPlayTime() {
        return startPlayTime;
    }

    public void setStartPlayTime(Timestamp startPlayTime) {
        this.startPlayTime = startPlayTime;
    }

    @Column(name = "descs")
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Column(name = "is_deleted")
    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {

        this.isDeleted = isDeleted;
    }

    @Column(name = "old_id")
    public long getOrder() {
        return order;
    }

    public void setOrder(long order) {
        this.order = order;
    }
}
